Difference between getattribute and getparameter1. getattribute is the attribute set by setattribute in JSP.
2. What parameter gets is string; what attribute gets is object.
3. request. the data transmitted by the getparameter () method is
There are a lot of information on the Internet, but they are all chaotic. Record points are used as a reference. Difference between getattribute and getparameter 1. getattribute is the attribute set by setattribute in JSP.
2. What parameter gets is
1. getattribute is the attribute set by setattribute in JSP.2. What parameter gets is string; what attribute gets is object.3. request. the data transmitted by the getparameter () method is transmitted from the Web Client to the Web server,
Request.getattribute (): Is the value of the variable set at request, with Request.setattribute ("name", "Your Own value"), to set the value,Request.getparameter (): Extract the parameters sent over such as: this pagehttp://community.csdn.net/Expert/
(2) When the two Web Components are link relationships, the linked component obtains the request parameters through the GetParameter () method.(3) When a forwarding relationship is between two Web components, the forwarding target component shares
Servletconfig#getinitparameter () acting on a single servletServletcontext#getinitparameter () Acting on the global servletScopes are different, but all need to be configured in Web. XML to return only the string type
PHP reads XML php reads xml
1. php code
Books. xml file:
Jack Herrington
PHP Hacks
O 'Reilly
Jack Herrington
Podcasting Hacks
O 'Reilly
1. DOMDocument method
Load ('books. XML'); $ books = $
Some books use xml dom, getattribute ("value"), and. value.
. Value also complies with W3C standards and belongs to HTML Dom.
Environment: Firefox 3.5.5 windows
In Firefox, enter the input element manually and use getattribute ("value") to
Article 5: XML magic example-xml dom (1)
Author: Yi's information, Xu jiangren
Integrate XML-related technologiesIn the previous four articles, we introduced the techniques of using ADO to extract data from the database
1. XML Introduction
XML (Extensible Markup Language) is a W3C standard used for easy interaction between Web applications and servers and data storage and use.
Data encoded using XML standards has the meaning and structure that can be easily
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.